package ma.ensao.evalmetrics.model;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
//Mapping de la table administrateur et le bean Admin
@Entity
@Table(name="administrateur")
public class Admin implements Serializable{
	
	private static final long serialVersionUID = -8767337896773261247L;

	private Long id;
	private String statut;
	private String login;
	private String password;

	@Id
	@GeneratedValue
	@Column(name="id")
	public Long getId() {
		return id;
	}
	@Column(name="statut")
	public String getStatut() {
		return statut;
	}
	@Column(name="login")
	public String getLogin() {
		return login;
	}
	@Column(name="password")
	public String getPassword() {
		return password;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	
	public void setLogin(String login) {
		this.login = login;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setStatut(String statut) {
		this.statut = statut;
	}
}
